package com.oreilly.ez.base;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties
public class YmlConfig {

    @Value("${server.port:#{8080}}")
    private Integer port;


    @Value("${sys.uploadDir}")
    private String uploadDir;


    @Value("${sys.confDir}")
    private String confDir;

    @Value("${sys.pages}")
    private String pages;


}
